package com.example.springbootgoods.service;

import com.example.springbootgoods.entity.ClassName;
import com.example.springbootgoods.mapper.ClassNameMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassNameService {
    @Autowired
    ClassNameMapper classNameMapper;
    public List<ClassName> selectAll(){
       return classNameMapper.selectList(null);
    }
}
